package com.tt.fashionWebSite.dao;

import com.tt.fashionWebSite.domain.HoaDon;
import com.tt.fashionWebSite.domain.HoaDonFull;
import com.tt.fashionWebSite.domain.Luat;

import java.util.List;

public interface HoaDonDao extends GenericDao<HoaDon, String> {
    public List<HoaDonFull> getBillCommon();
    public List<HoaDon> getDataId(String id);
    public List<HoaDon> updateStatusBillCommon(String maHD, String finish, String status);
    public List<HoaDonFull> getDataSortInBill(String name, String updown);
    public List<HoaDonFull> getDataSearchInBill(String name, String content);
    public List<HoaDonFull> getDateSearchInBill(String name, String dateBegin, String dateEnd);
    public List<HoaDonFull> getFinishTimeSearchInBill(String name, String finish, String time, String dateBegin, String dateEnd);
    public List<HoaDonFull> getStatusTimeSearchInBill(String name, String status, String time, String dateBegin, String dateEnd);
    public List<HoaDonFull> getFinish_StatusTimeSearchInBill(String name, String status, String time, String dateBegin, String dateEnd);
    public List<HoaDonFull> getFinishSearchInBill(String name, String finish);
    public List<HoaDonFull> getStatusSearchInBill(String name, String status);
    public List<HoaDonFull> getFinish_StatusSearchInBill(String finish, String status);
    public List<HoaDon> getAllBillByUser(String userName);
}
